package com.fjw.dao;


import com.fjw.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    //用户注册
    Integer addUser(User user);

    User findByUserName(@Param("username") String username);

    //显示该班级的所有用户
    List<User> findUserByClazId(Integer clazId);
}
